const authRouter = require('./auth');
const inviteRouter = require('./invite-code');
const goodRouter = require('./good');
const InventoryLogRouter = require('./inventory-log');
const userRouter = require('./user');
const characterRouter = require('./character');
const LogRouter = require('./log');
const forgetPasswordRouter = require('./forget-password');
const goodClassifyRouter = require('./good-classify');
const profileRouter = require('./profile');
const dashboardRouter = require('./dashboard');

module.exports = (app) => {
  app.use(authRouter.routes());
  app.use(inviteRouter.routes());
  app.use(goodRouter.routes());
  app.use(InventoryLogRouter.routes());
  app.use(userRouter.routes());
  app.use(characterRouter.routes());
  app.use(LogRouter.routes());
  app.use(forgetPasswordRouter.routes());
  app.use(goodClassifyRouter.routes());
  app.use(profileRouter.routes());
  app.use(dashboardRouter.routes());
};
